﻿using System.Windows.Navigation;

namespace XamlMvp.Modelling
{
    public static class NavigationEventArgsHelpers
    {
        public static bool IsAppExternal(this NavigationEventArgs source)
        {
            const string appExternal = "app://external/";

            return source.Uri.Equals(appExternal);
        }
    }
}
